<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Voyager Backend - Group Management</title>
<script type="text/javascript" src="../lib/angular/angular.min.js"></script>
<script src="http://code.angularjs.org/1.2.1/angular-route.min.js"></script>
<link rel="stylesheet" type="text/css" href="../app/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css"
	href="../app/css/bootstrap-responsive.min.css">
<link rel="stylesheet" type="text/css" href="../app/css/main.css">
<link rel="stylesheet" type="text/css"
	href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
</head>
<body ng-app="myApp">


		<div class="container">
			<div class="main row">
				<div class="col-xs-3" ng-controller="homeCtrl">
					<ul class="list-group">
						<li class="list-group-item"><a href="#/home"> <span
								class="glyphicon glyphicon-home"></span></a></li>

						<li ng-repeat="item in menu" class="list-group-item"><a
							href="{{item.href}}"> {{item.link}}</a></li>
                        <li class="list-group-item"><a href="#" ng-click="logout()"> <span
								class="glyphicon glyphicon-log-out"></span></a></li>

					</ul>
				</div>
				<div class="col-xs-9 panel panel-default" ng-controller="statCtrl"
					data-ng-init="init()">





					<div>
						<caption>
							<h1>Statistics</h1>
						</caption>


                         
                        <h4>Users</h4>
						<div class="panel panel-default">
							<div class="panel-body">

								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered users</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nbr_rows}}</p>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered users in 24h</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_register_1_day}}</p>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered users in 7 days</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_register_1_week}}</p>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered users in 1 month</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_register_1_month}}</p>
									</div>
								</div>
							</div>
						</div>
                        <h4>Groups</h4>
						<div class="panel panel-default">
							<div class="panel-body">
								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered groups</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_group}}</p>
									</div>
								</div>


								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered groups in 24h</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_group_register_1_day}}</p>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered groups in 7 days</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_group_register_1_week}}</p>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered groups in 1 month</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_group_register_1_month}}</p>
									</div>
								</div>
							</div>
						</div>

                        <h4>Events</h4>
                        <div class="panel panel-default">
							<div class="panel-body">
								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered events</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_events}}</p>
									</div>
								</div>


								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered events in 24h</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_event_register_1_day}}</p>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered events in 7 days</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_event_register_1_week}}</p>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of registered events in 1 month</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_event_register_1_month}}</p>
									</div>
								</div>
							</div>
						</div>

						<h4>Interests</h4>
                        <div class="panel panel-default">
							<div class="panel-body">
								<div class="form-group">
									<label class="col-sm-5 control-label" id="label">Number
										of interests</label>
									<div class="col-sm-7">
										<p class="form-control-static" style="padding-top: 0px;">{{nb_interests}}</p>
									</div>
								</div>

							</div>
						</div>

					</div>
				</div>




			</div>
		</div>

</body>
</html>